package com.mew.common.rest.golddeal;

import com.zebra.common.ZebraBaseMessage;
import io.netty.buffer.ByteBuf;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @author dylin
 * @create 2021/2/2 0002
 */
@Data
@ToString
@NoArgsConstructor
public class BuyGoldResponseMessage extends ZebraBaseMessage<BuyGoldResponseMessage> {
    private long goldNumber;//金币
    @Override
    public void write(ByteBuf b) {

        writeLong(b,goldNumber);
    }

    @Override
    public BuyGoldResponseMessage read(ByteBuf b) {
        return null;
    }
}
